﻿namespace Notoric.Model.Elements
{
    /// <summary>
    /// Represents an element that has a position in a 2-dimensional real space.
    /// </summary>
    public interface IPositionableElement
    {
        /// <summary>
        /// Gets or sets the horizontal position of the element.
        /// </summary>
        /// <value>
        /// <para>
        /// Type: <see cref="System.Double"/>
        /// </para>
        /// <para>
        /// The horizontal offset (in centimeters) of the top-left element's corner
        /// from the origin of coordinates.
        /// </para>
        /// </value>
        double Left
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the vertical position of the element.
        /// </summary>
        /// <value>
        /// <para>
        /// Type: <see cref="System.Double"/>
        /// </para>
        /// <para>
        /// The vertical offset (in centimeters) of the top-left element's corner
        /// from the origin of coordinates.
        /// </para>
        /// </value>
        double Top
        {
            get;
            set;
        }
    }
}
